using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class NhanVienDto
    {
        #region Attributes
        private string _manv;
        private string _tennv;
        private string _diachi;
        private DateTime _ngaysinh;

        private string _dienthoai;
        private int _bangcap;        
        private int _chucvu;        
        private int _tinhtrangthe;        
        #endregion Attributes

        #region Properties
        public string Manv
        {
          get { return _manv; }
          set { _manv = value; }
        }
        public string Tennv
        {
            get { return _tennv; }
            set { _tennv = value; }
        }
        public string Diachi
        {
            get { return _diachi; }
            set { _diachi = value; }
        }

        public DateTime Ngaysinh
        {
            get { return _ngaysinh; }
            set { _ngaysinh = value; }
        }
        public int Bangcap
        {
            get { return _bangcap; }
            set { _bangcap = value; }
        }
        public int Chucvu
        {
            get { return _chucvu; }
            set { _chucvu = value; }
        }
        public string Dienthoai
        {
            get { return _dienthoai; }
            set { _dienthoai = value; }
        }        
        public int Tinhtrangthe
        {
            get { return _tinhtrangthe; }
            set { _tinhtrangthe = value; }
        }        
        #endregion Properties

        public NhanVienDto()
        {
        _manv = " ";
        _tennv = " ";
        _diachi= " ";
        _ngaysinh = new DateTime(1,1,1);
        _dienthoai= " ";
        _bangcap= 0;
        _chucvu=0;
        _tinhtrangthe=0;
        }
        public NhanVienDto(string manv, string tennv, string dc, DateTime ns, string dt, int bc, int cv, int ttt)
        {
            Manv = manv;
            Tennv = tennv;
            Diachi = dc;
            Ngaysinh = ns;
            Dienthoai = dt;
            Bangcap = bc;
            Chucvu = cv;
            Tinhtrangthe = ttt;
        }

    }
}
